﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Faq.aspx.cs" Inherits="Faq" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script type="text/javascript">
        $(document).ready(function () {
            $(".ClickONQuet").click(function (e) {
                e.preventDefault();
                $(this).parent().next().slideToggle();
            });
        });    
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <tr>
        <td>
            <div class="all_content">
                <div class="content">
                    <div class="content-top">
                        <div class="content-bottom">
                            <div class="content-center">
                                <div class="faq_page">
                                    <!--profile_left-->
                                    <div class="faq_left">
                                        <!--Question Categor-->
                                        <div class="box_title">
                                            კითხვების კატეგორია</div>
                                        <div class="quest_box">
                                            <asp:Repeater ID="QuestionCategoryRep" runat="server" OnItemDataBound="QuestionCategoryRep_DataBound">
                                                <ItemTemplate>
                                                    <asp:Literal ID="QusetionCategoryItem" runat="server" />
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </div>
                                        <!--write_question-->
                                        <div class="box_title">
                                            დასვი შეკითხვა</div>
                                        <div class="write_question">
                                            <div>
                                                <input type="text" id="Name_box" runat="server" value="სახელი" name="q_sender_name"
                                                    class="sender_name" onclick="if(this.value=='სახელი') this.value='';" onblur="if(this.value=='') this.value='სახელი'" /></div>
                                            <div>
                                                <input type="text" id="mail_box" runat="server" value="ელ. ფოსტა" name="q_sender_email"
                                                    class="sender_email" onclick="if(this.value=='ელ. ფოსტა') this.value='';" onblur="if(this.value=='') this.value='ელ. ფოსტა'" /></div>
                                            <div>
                                                <textarea rows="10" id="textarea" runat="server" cols="36" class="sender_text"></textarea></div>
                                            <!--button-->
                                            <div class="submit">
                                                <div class="black_l">
                                                    <div class="black_r">
                                                        <div class="black_c">
                                                            <asp:Button ID="Submit" Text="გაგზავნა" runat="server" CssClass="contact_submit" OnClick="OnSubmit" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <!--button-->
                                        </div>
                                        <!--End write_question-->
                                    </div>
                                    <!--profile_left-->
                                    <!--profile_right-->
                                    <div class="faq_right">
                                        <div class="fq_page_title">
                                            მოძებნე ხშირად დასმულ შეკითხვებში</div>
                                        <div class="quest_search">
                                            <input type="text" id="SearchTextID" runat="server" class="q_search" value="Search your Question"
                                                name="search">
                                            <asp:Button ID="SearchID" runat="server" CssClass="q_button" OnClick="OnSearch" />
                                        </div>
                                        <div class="ques_list">
                                            <asp:Repeater ID="QuestionRep" runat="server" OnItemDataBound="QuestionRep_DataBound">
                                                <ItemTemplate>
                                                    <asp:Literal ID="QusetionItem" runat="server" />
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                    <!--End profile_right-->
                                    <div class="clear">
                                    </div>
                                </div>
                                <!--End FAQ Page-->
                            </div>
                            <!-- .content-center-->
                        </div>
                        <!-- .content-bottom-->
                    </div>
                    <!-- .content-top-->
                </div>
                <!--content-->
            </div>
            <!--all_content-->
        </td>
    </tr>
</asp:Content>
